package com.example.administrator.zyfypt_102zzr.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.example.administrator.zyfypt_102zzr.R;

public class RegisterActivity extends AppCompatActivity implements View.OnClickListener {
    private TextView us;
    private TextView pa;
    private TextView qe;
    private TextView zs;
    private TextView nl;
    private TextView tx;
    private TextView et;
    private TextView tv;
    private EditText e1;
    private EditText e2;
    private EditText e3;
    private EditText e4;
    private EditText e5;
    private Button button1;
    private Button button2;
    private Button button3;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        init();
    }

    private void init() {
        us=(TextView) findViewById(R.id.textView13);
        pa=(TextView) findViewById(R.id.textView14);
        qe=(TextView) findViewById(R.id.textView15);
        zs=(TextView) findViewById(R.id.textView16);
        nl=(TextView) findViewById(R.id.textView17);
        tx=(TextView) findViewById(R.id.textView18);
        et=(TextView) findViewById(R.id.textView9);
        tv=(TextView) findViewById(R.id.textView12);
        e1=(EditText)findViewById(R.id.editText);
        e2=(EditText)findViewById(R.id.editText2);
        e3=(EditText)findViewById(R.id.editText3);
        e4=(EditText)findViewById(R.id.editText4);
        e5=(EditText)findViewById(R.id.editText5);
        button1=(Button)findViewById(R.id.button3);
        button2=(Button)findViewById(R.id.button4);
        button3=(Button)findViewById(R.id.button5);
        button1.setOnClickListener(this);
        button2.setOnClickListener(this);
        button3.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.button5:
                finish();
                break;
            default:
                break;
        }
    }
}
